/**
 *====================================================
 * 文件名称: WarningSchemeResult.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2016年6月2日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.project.action.v1.model;

import java.math.BigDecimal;
import java.util.Date;

import com.yuexunit.web.annotation.Parameter;

/**
 * @ClassName: WarningSchemeResult
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author chenxy
 * @date 2016年6月2日 下午5:31:17
 */
public class WarningSchemeResult {

	@Parameter(name = "schemeResultId", description = "预警结果ID")
	private Long schemeResultId;

	@Parameter(name = "schemeId", description = "预警方案ID")
	private Long schemeId;

	@Parameter(name = "schemeName", description = "方案名称")
	private String schemeName;

	@Parameter(name = "enterpriseId", description = "企业信息ID")
	private Long enterpriseId;

	@Parameter(name = "enterpriseName", description = "企业名称")
	private String enterpriseName;

	@Parameter(name = "factor", description = "预警因素 0:商品价格/1:赎货时效/2:处置时效")
	private Integer factor;
	
	@Parameter(name = "factorView", description = "预警因素-文字")
	private String factorView;

	@Parameter(name = "warningLevel", description = "预警级别 0:黄色预警/1:红色预警")
	private Integer warningLevel;
	
	@Parameter(name = "warningLevelView", description = "预警级别-文字")
	private String warningLevelView;

	@Parameter(name = "financeId", description = "融资信息ID")
	private Long financeId;

	@Parameter(name = "financeNumber", description = "融资信息编号")
	private String financeNumber;
	
	@Parameter(name = "financeState", description = "融资状态")
	private Integer financeState;
	
	@Parameter(name = "financeStateView", description = "融资状态-文字")
	private String financeStateView;

	@Parameter(name = "bulkstockId", description = "货物信息ID")
	private String bulkstockId;

	@Parameter(name = "bulkstockInfoId", description = "大宗商品ID")
	private String bulkstockInfoId;

	@Parameter(name = "bulkstockName", description = "货物名称")
	private String bulkstockName;

	@Parameter(name = "specification", description = "规格型号")
	private String specification;

	@Parameter(name = "evaluatePrice", description = "评估单价")
	private BigDecimal evaluatePrice;

	@Parameter(name = "latestPrice", description = "最新单价")
	private BigDecimal latestPrice;
	
	@Parameter(name = "latestValuation", description = "最新货值")
	private BigDecimal latestValuation;

	@Parameter(name = "riseFall", description = "涨跌")
	private BigDecimal riseFall;

	@Parameter(name = "increase", description = "幅度")
	private BigDecimal increase;

	@Parameter(name = "inventoryId", description = "融资箱信息ID")
	private String inventoryId;

	@Parameter(name = "waybillNumber", description = "物流运单号")
	private String waybillNumber;

	@Parameter(name = "caseNumber", description = "货物箱号")
	private String caseNumber;

	@Parameter(name = "description", description = "预警内容描述")
	private String description;

	@Parameter(name = "createDateTime", description = "生成时间")
	private Date createDateTime;
	
	@Parameter(name = "financeContractSerialNumber", description = "合同序列号")
	private String financeContractSerialNumber;
	
	@Parameter(name = "productType", description = "业务类型")
	private Integer productType;
	
	@Parameter(name = "productTypeView", description = "业务类型-文字")
	private String productTypeView;
	
	@Parameter(name = "weight", description = "重量")
	private BigDecimal weight;
	
	@Parameter(name = "pledgeRate", description = "质押率")
	private BigDecimal pledgeRate;
	
	@Parameter(name = "financePrice", description = "质押单价")
	private BigDecimal financePrice;
	
	@Parameter(name = "loanAmount", description = "放款金额")
	private BigDecimal loanAmount;
	
	@Parameter(name = "settlementStart", description = "起息日")
	private Date settlementStart;
	
	@Parameter(name = "settlementEnd", description = "到期日")
	private Date settlementEnd;
	
	@Parameter(name = "financeDays", description = "借款期限")
	private Integer financeDays;
	
	@Parameter(name = "interestRate", description = "费率")
	private BigDecimal interestRate;
	
	@Parameter(name = "dueDays", description = "即将到期天数")
	private Integer dueDays;

	public String getFinanceStateView() {
		return financeStateView;
	}

	public void setFinanceStateView(String financeStateView) {
		this.financeStateView = financeStateView;
	}

	public String getFactorView() {
		return factorView;
	}

	public void setFactorView(String factorView) {
		this.factorView = factorView;
	}

	public String getWarningLevelView() {
		return warningLevelView;
	}

	public void setWarningLevelView(String warningLevelView) {
		this.warningLevelView = warningLevelView;
	}

	public String getProductTypeView() {
		return productTypeView;
	}

	public void setProductTypeView(String productTypeView) {
		this.productTypeView = productTypeView;
	}

	public Date getSettlementStart() {
		return settlementStart;
	}

	public void setSettlementStart(Date settlementStart) {
		this.settlementStart = settlementStart;
	}

	public Date getSettlementEnd() {
		return settlementEnd;
	}

	public void setSettlementEnd(Date settlementEnd) {
		this.settlementEnd = settlementEnd;
	}

	public Integer getFinanceDays() {
		return financeDays;
	}

	public void setFinanceDays(Integer financeDays) {
		this.financeDays = financeDays;
	}

	public BigDecimal getInterestRate() {
		return interestRate;
	}

	public void setInterestRate(BigDecimal interestRate) {
		this.interestRate = interestRate;
	}

	public Integer getDueDays() {
		return dueDays;
	}

	public void setDueDays(Integer dueDays) {
		this.dueDays = dueDays;
	}

	public BigDecimal getLatestValuation() {
		return latestValuation;
	}

	public void setLatestValuation(BigDecimal latestValuation) {
		this.latestValuation = latestValuation;
	}

	public String getFinanceContractSerialNumber() {
		return financeContractSerialNumber;
	}

	public void setFinanceContractSerialNumber(String financeContractSerialNumber) {
		this.financeContractSerialNumber = financeContractSerialNumber;
	}

	public Integer getProductType() {
		return productType;
	}

	public void setProductType(Integer productType) {
		this.productType = productType;
	}

	public BigDecimal getWeight() {
		if(weight == null) {
			return BigDecimal.ZERO;
		}
		return weight;
	}

	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}

	public BigDecimal getPledgeRate() {
		return pledgeRate;
	}

	public void setPledgeRate(BigDecimal pledgeRate) {
		this.pledgeRate = pledgeRate;
	}

	public BigDecimal getFinancePrice() {
		return financePrice;
	}

	public void setFinancePrice(BigDecimal financePrice) {
		this.financePrice = financePrice;
	}

	public BigDecimal getLoanAmount() {
		return loanAmount;
	}

	public void setLoanAmount(BigDecimal loanAmount) {
		this.loanAmount = loanAmount;
	}

	public Integer getFinanceState() {
		return financeState;
	}

	public void setFinanceState(Integer financeState) {
		this.financeState = financeState;
	}

	public Long getSchemeResultId() {
		return schemeResultId;
	}

	public void setSchemeResultId(Long schemeResultId) {
		this.schemeResultId = schemeResultId;
	}

	public Long getSchemeId() {
		return schemeId;
	}

	public void setSchemeId(Long schemeId) {
		this.schemeId = schemeId;
	}

	public String getSchemeName() {
		return schemeName;
	}

	public void setSchemeName(String schemeName) {
		this.schemeName = schemeName;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public String getEnterpriseName() {
		return enterpriseName;
	}

	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}

	public Integer getFactor() {
		return factor;
	}

	public void setFactor(Integer factor) {
		this.factor = factor;
	}

	public Integer getWarningLevel() {
		return warningLevel;
	}

	public void setWarningLevel(Integer warningLevel) {
		this.warningLevel = warningLevel;
	}

	public Long getFinanceId() {
		return financeId;
	}

	public void setFinanceId(Long financeId) {
		this.financeId = financeId;
	}

	public String getFinanceNumber() {
		return financeNumber;
	}

	public void setFinanceNumber(String financeNumber) {
		this.financeNumber = financeNumber;
	}

	public String getBulkstockId() {
		return bulkstockId;
	}

	public void setBulkstockId(String bulkstockId) {
		this.bulkstockId = bulkstockId;
	}

	public String getBulkstockInfoId() {
		return bulkstockInfoId;
	}

	public void setBulkstockInfoId(String bulkstockInfoId) {
		this.bulkstockInfoId = bulkstockInfoId;
	}

	public String getBulkstockName() {
		return bulkstockName;
	}

	public void setBulkstockName(String bulkstockName) {
		this.bulkstockName = bulkstockName;
	}

	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}

	public BigDecimal getEvaluatePrice() {
		return evaluatePrice;
	}

	public void setEvaluatePrice(BigDecimal evaluatePrice) {
		this.evaluatePrice = evaluatePrice;
	}

	public BigDecimal getLatestPrice() {
		if (latestPrice == null)
			return BigDecimal.ZERO;
		return latestPrice;
	}

	public void setLatestPrice(BigDecimal latestPrice) {
		this.latestPrice = latestPrice;
	}

	public BigDecimal getRiseFall() {
		return riseFall;
	}

	public void setRiseFall(BigDecimal riseFall) {
		this.riseFall = riseFall;
	}

	public BigDecimal getIncrease() {
		return increase;
	}

	public void setIncrease(BigDecimal increase) {
		this.increase = increase;
	}

	public String getInventoryId() {
		return inventoryId;
	}

	public void setInventoryId(String inventoryId) {
		this.inventoryId = inventoryId;
	}

	public String getWaybillNumber() {
		return waybillNumber;
	}

	public void setWaybillNumber(String waybillNumber) {
		this.waybillNumber = waybillNumber;
	}

	public String getCaseNumber() {
		return caseNumber;
	}

	public void setCaseNumber(String caseNumber) {
		this.caseNumber = caseNumber;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

}
